<template>
    <div>
        <div class="content">
            <div class="img">
            <img v-bind:src="student.head" alt="" />
            </div>
            <span>姓名：{{ student.name }}</span>
            <span>年龄：{{ student.age }}</span>
            <span>性别：{{ student.gender }}</span>
            <span>总分：{{ student.yw + student.sx + student.yy }}</span>
        </div>
        <div class="score" v-if="(student.yw >= 60) & (student.sx >= 60) & (student.yy >= 60)">
            <div class="nav">---</div>
            <span>语文：{{ student.yw }}</span>
            <span>数学：{{ student.sx }}</span>
            <span>英语：{{ student.yy }}</span>
        </div>
    </div>
</template>
<script>
export default {
    props:{
        student:Object
    },
}
</script>